package com.eportal.entity;

import javax.persistence.*;

@Table(name = "CITY")
public class CityEntity {
    @Column(name = "DM")
    private String dm;

    @Column(name = "MC")
    private String mc;

    @Column(name = "YXZT")
    private String yxzt;

    @Column(name = "ISLEAF")
    private String isleaf;

    @Column(name = "DESCRIBED")
    private String described;

    /**
     * @return DM
     */
    public String getDm() {
        return dm;
    }

    /**
     * @param dm
     */
    public void setDm(String dm) {
        this.dm = dm;
    }

    /**
     * @return MC
     */
    public String getMc() {
        return mc;
    }

    /**
     * @param mc
     */
    public void setMc(String mc) {
        this.mc = mc;
    }

    /**
     * @return YXZT
     */
    public String getYxzt() {
        return yxzt;
    }

    /**
     * @param yxzt
     */
    public void setYxzt(String yxzt) {
        this.yxzt = yxzt;
    }

    /**
     * @return ISLEAF
     */
    public String getIsleaf() {
        return isleaf;
    }

    /**
     * @param isleaf
     */
    public void setIsleaf(String isleaf) {
        this.isleaf = isleaf;
    }

    /**
     * @return DESCRIBED
     */
    public String getDescribed() {
        return described;
    }

    /**
     * @param described
     */
    public void setDescribed(String described) {
        this.described = described;
    }


    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("CityEntity{");
        sb.append("described='").append(described).append('\'');
        sb.append(", dm='").append(dm).append('\'');
        sb.append(", mc='").append(mc).append('\'');
        sb.append(", yxzt='").append(yxzt).append('\'');
        sb.append(", isleaf='").append(isleaf).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
